<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/finance/purchasingmanagement/customerCutMaterial_add.js">
</script>

<script type="text/javascript" src="${ctx}/js/jedate/jedate.js"></script>

<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/quality/checkMaterial_addEntity.shtml">
		<input type="hidden" class="form-control checkacc"
			name="checkMaterialFormMap.id" id="id">
		<input type="hidden" class="form-control checkacc" 
			name="pcontractTrackingFormMap.state" id="id">
		<section class="panel panel-default">
		<div class="panel-body">
		
		
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"
						placeholder="产品名称" name="checkMaterialFormMap.productName" id="nc_code_group_no">
				</div>
			</div>
		
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">来料时间</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" id="predictDeliver" 
						name="checkMaterialFormMap.comDate" />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">进仓时间</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" id="predictDeliver2" 
						name="checkMaterialFormMap.enterDate" />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">供应商</label>
				<div class="col-sm-9">
					<select class="form-control" name="checkMaterialFormMap.supplierId">
						<option value=" ">请选择</option>
						<c:forEach var="s" items="${suppFilleFromMaps }">
						<option value="${s.id }">${s.suppName }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">检验时间</label>
				<div class="col-sm-9">
					 <input type="text" class="form-control checkabh" id="predictDeliver3" 
						name="checkMaterialFormMap.checkTime" />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">进仓数量</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入进仓数量" name="checkMaterialFormMap.enterQuantity" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">抽检数量</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入抽检数量" name="checkMaterialFormMap.checkQuantity" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">规格</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入规格" name="checkMaterialFormMap.specification" id="nc_code_group_desc">
				</div>
			</div>
		
			
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">批次</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入批次" name="checkMaterialFormMap.batch" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">检验要求</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入检验要求" name="checkMaterialFormMap.checkRequest" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">检验结果</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入检验结果" name="checkMaterialFormMap.checkResult" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">备注</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入备注" name="checkMaterialFormMap.remark" id="nc_code_group_desc">
				</div>
			</div>
			
			</div>
			
			
		</div>
		<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> 
		</section>
	</form>
	<script type="text/javascript">
		jeDate({
			dateCell : "#predictDeliver",
			format : "YYYY-MM-DD hh:mm:ss",
			isinitVal : false,
			isTime : true,
			isClear : false,
			minDate : "2014-09-19 00:00:00"
		});
	</script>
	<script type="text/javascript">
		jeDate({
			dateCell : "#predictDeliver2",
			format : "YYYY-MM-DD hh:mm:ss",
			isinitVal : false,
			isTime : true,
			isClear : false,
			minDate : "2014-09-19 00:00:00"
		});
	</script>
	<script type="text/javascript">
		jeDate({
			dateCell : "#predictDeliver3",
			format : "YYYY-MM-DD hh:mm:ss",
			isinitVal : false,
			isTime : true,
			isClear : false,
			minDate : "2014-09-19 00:00:00"
		});
	</script>
	
</body>
</html>